// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_SALES_CONTRACT_REVIEW
// * CreateDate    : 2014-06-05 18:30:36
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:36
// * LastChanger   : 2014-06-05 18:30:36
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class SalesContractReviewTable : TableInfo
    {
		public const string C_TableName = "SALES_CONTRACT_REVIEW";
		
		public const string C_ID = "ID";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_UPDATED_BY = "UPDATED_BY";
		public const string C_UPDATED_DATE = "UPDATED_DATE";
		public const string C_IS_ACTIVE = "IS_ACTIVE";
		public const string C_NAME = "NAME";
		public const string C_REVIEW_NO = "REVIEW_NO";
		public const string C_ROUTE = "ROUTE";
		public const string C_APP_PERSON = "APP_PERSON";
		public const string C_CUSTOMER_ID = "CUSTOMER_ID";
		public const string C_CUSTOMER_NAME = "CUSTOMER_NAME";
		public const string C_CUSTOMER_CODE = "CUSTOMER_CODE";
		public const string C_REMARK = "REMARK";
		public const string C_STATUS = "STATUS";
		
		public SalesContractReviewTable()
        {
            _tableName = "SALES_CONTRACT_REVIEW";
        }
		
		protected static SalesContractReviewTable _current;
        public static SalesContractReviewTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new SalesContractReviewTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_UPDATED_BY, new ColumnInfo(C_UPDATED_BY,"UpdatedBy", false, typeof(string)));
            _current.Add(C_UPDATED_DATE, new ColumnInfo(C_UPDATED_DATE,"UpdatedDate", false, typeof(DateTime)));
            _current.Add(C_IS_ACTIVE, new ColumnInfo(C_IS_ACTIVE,"IsActive", false, typeof(int)));
            _current.Add(C_NAME, new ColumnInfo(C_NAME,"Name", false, typeof(string)));
            _current.Add(C_REVIEW_NO, new ColumnInfo(C_REVIEW_NO,"ReviewNo", false, typeof(string)));
            _current.Add(C_ROUTE, new ColumnInfo(C_ROUTE,"Route", false, typeof(string)));
            _current.Add(C_APP_PERSON, new ColumnInfo(C_APP_PERSON,"AppPerson", false, typeof(string)));
            _current.Add(C_CUSTOMER_ID, new ColumnInfo(C_CUSTOMER_ID,"CustomerId", false, typeof(string)));
            _current.Add(C_CUSTOMER_NAME, new ColumnInfo(C_CUSTOMER_NAME,"CustomerName", false, typeof(string)));
            _current.Add(C_CUSTOMER_CODE, new ColumnInfo(C_CUSTOMER_CODE,"CustomerCode", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo UPDATED_BY
        {
            get { return this[C_UPDATED_BY]; }
        }
		
		public ColumnInfo UPDATED_DATE
        {
            get { return this[C_UPDATED_DATE]; }
        }
		
		public ColumnInfo IS_ACTIVE
        {
            get { return this[C_IS_ACTIVE]; }
        }
		
		public ColumnInfo NAME
        {
            get { return this[C_NAME]; }
        }
		
		public ColumnInfo REVIEW_NO
        {
            get { return this[C_REVIEW_NO]; }
        }
		
		public ColumnInfo ROUTE
        {
            get { return this[C_ROUTE]; }
        }
		
		public ColumnInfo APP_PERSON
        {
            get { return this[C_APP_PERSON]; }
        }
		
		public ColumnInfo CUSTOMER_ID
        {
            get { return this[C_CUSTOMER_ID]; }
        }
		
		public ColumnInfo CUSTOMER_NAME
        {
            get { return this[C_CUSTOMER_NAME]; }
        }
		
		public ColumnInfo CUSTOMER_CODE
        {
            get { return this[C_CUSTOMER_CODE]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		
		
	}
}

